//-----------------------------------------------------------------------
//<copyright file="PhieuNhap.cs" company="MinhSong">
//Copyright (c) MinhSong. All rights reserved.
//</copyright>
//-----------------------------------------------------------------------
using System;
using System.Runtime.Serialization;

namespace PMS.Entity
{
	public class PhieuNhap: BaseEntity
	{
		#region Variable Declarations

		private string m_SoPN;
		private DateTime? m_NgayNhapKho;
		private string m_NguoiNhap;
		private DateTime? m_NgayLapPhieu;
		private string m_NguoiLap;
		private string m_SoHD;
		private string m_LyDoNhap;
		private string m_GhiChu;
		private string m_MaNCC;
		private string m_MaKho;

		#endregion

		#region Constructors

		public PhieuNhap() {}
		public PhieuNhap(
			string soPN,
			DateTime? ngayNhapKho,
			string nguoiNhap,
			DateTime? ngayLapPhieu,
			string nguoiLap,
			string soHD,
			string lyDoNhap,
			string ghiChu,
			string maNCC,
			string maKho)
		{
			m_SoPN = soPN;
			m_NgayNhapKho = ngayNhapKho;
			m_NguoiNhap = nguoiNhap;
			m_NgayLapPhieu = ngayLapPhieu;
			m_NguoiLap = nguoiLap;
			m_SoHD = soHD;
			m_LyDoNhap = lyDoNhap;
			m_GhiChu = ghiChu;
			m_MaNCC = maNCC;
			m_MaKho = maKho;
		}

		#endregion

		#region Properties

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string SoPN
		{
			get { return m_SoPN; }
			set { m_SoPN = value;
				OnPropertyChanged("SoPN");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is DateTime</value>
		[DataMember]
		public DateTime? NgayNhapKho
		{
			get { return m_NgayNhapKho; }
			set { m_NgayNhapKho = value;
				OnPropertyChanged("NgayNhapKho");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string NguoiNhap
		{
			get { return m_NguoiNhap; }
			set { m_NguoiNhap = value;
				OnPropertyChanged("NguoiNhap");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is DateTime</value>
		[DataMember]
		public DateTime? NgayLapPhieu
		{
			get { return m_NgayLapPhieu; }
			set { m_NgayLapPhieu = value;
				OnPropertyChanged("NgayLapPhieu");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string NguoiLap
		{
			get { return m_NguoiLap; }
			set { m_NguoiLap = value;
				OnPropertyChanged("NguoiLap");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string SoHD
		{
			get { return m_SoHD; }
			set { m_SoHD = value;
				OnPropertyChanged("SoHD");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string LyDoNhap
		{
			get { return m_LyDoNhap; }
			set { m_LyDoNhap = value;
				OnPropertyChanged("LyDoNhap");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string GhiChu
		{
			get { return m_GhiChu; }
			set { m_GhiChu = value;
				OnPropertyChanged("GhiChu");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string MaNCC
		{
			get { return m_MaNCC; }
			set { m_MaNCC = value;
				OnPropertyChanged("MaNCC");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string MaKho
		{
			get { return m_MaKho; }
			set { m_MaKho = value;
				OnPropertyChanged("MaKho");
		}
		}


		#endregion
	}
}//End Class
